/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package serveur;

import shared.Cpu;
import shared.Processus;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import shared.Memory;

/**
 *
 * @author ju
 */
public class MonitoringImpl extends UnicastRemoteObject  implements shared.Monitoring {

    public MonitoringImpl() throws RemoteException {
    }

    @Override
        public  Processus getProcessusReal() throws RemoteException {
        return ProcessusImpl.getInstance();
    }
    
    @Override
        public  Cpu getCpuReal() throws RemoteException {
        return  CpuImpl.getInstance();
    }

  @Override
        public  Memory getMemoryReal() throws RemoteException {
        return  MemoryImpl.getInstance();
    }
    
    
}
